'''
File: \test.py
Project: TRANS
Created Date: Sunday December 8th 2019
Author: Huisama
-----
Modified By: the developer formerly known as Huisama at <yuwenhuisama@outlook.com>
-----
Copyright (c) 2019 Huisama
'''

import cv2
from adjust import get_adjusted_img, get_contours

if __name__ == "__main__":
    img_test = './samples/IMG_0518.JPG'

    box_test = get_contours(img_test)

    print("contours box: ")
    print(box_test)

    org_test, result_test = get_adjusted_img(img_test)

    cv2.imshow("org_test", org_test)
    cv2.imshow("result_img", result_test)

    cv2.waitKey(0)
    cv2.destroyAllWindows()
